package com.xiangyi.teachingsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiangyi.teachingsystem.entity.po.GroupUser;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface GroupUserService extends IService<GroupUser> {
    @Transactional
    void addUsersToGroup(List<GroupUser> groupUsers);

    List<GroupUser> groupUsersList(Integer groupId);
}
